package com.shiwaixiangcun.monitor.service;

import com.shiwaixiangcun.core.plugin.dto.MonkeyDto;
import com.shiwaixiangcun.core.service.BaseService;
import com.shiwaixiangcun.monitor.domain.EarlyWarning;
import com.shiwaixiangcun.monitor.domain.SystemSetup;
import com.shiwaixiangcun.monitor.dto.*;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * Created by Administrator on 2017-11-22.
 */
public interface EarlyWarningService extends BaseService<EarlyWarning, Long> {
    String findCurrentMaxNumber(Long orgId);
    void addEarlyWarning(MonkeyDto monkeyDto);

    void handleWaring(MonkeyDto monkeyDto);

    Page<WaringListDto> getWaringHistoryList(Pageable pageable, WaringSearchDto waringSearchDto);

    List<DangerWarningListDto> getDangerWarningList();

    WarningDetailDto getWarningDetail(Long waringId);

    List<AllWaringListDto> getWarningAllList();


    void updatePlayStatus(Long waringId);

    SystemSetup getLocationSet();

    void updateLocationSet(Long id);

    void updateTheme(Long id, Long themeId);
}
